export const route = [
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/LoginView.vue'),
    meta: {
      isMenu: false
    }
  },
  {
    path: '/404',
    name: '404',
    component: () =>
      import(
        '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
      ),
    meta: {
      isMenu: false
    }
  },
  {
    path: '/screen',
    name: 'screen',
    component: () =>
      import(
        '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
      ),
    meta: {
      isMenu: false
    }
  },
  {
    path: '/registrationportal',
    name: 'registrationportal',
    component: () =>
      import(
        '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
      ),
    meta: {
      isMenu: false
    }
  },
  {
    path: '/',
    name: 'workbench',
    component: () => import('@/layout/index.vue'),
    redirect: '/workbench',
    meta: {
      isMenu: true, // 是否展示在侧边栏
      tag: false, // 是否循环子路由
      loginAuth: true, //是否需要用户登录
      title: '工作台',
      icon: 'House'
    },
    children: [
      {
        path: '/workbench',
        name: 'Workbench',
        component: () => import('@/views/work_bench/workBench.vue'),
        meta: {
          noIcon: true
        }
      }
    ]
  },
  {
    path: '/ledger',
    name: 'ledger',
    component: () => import('@/layout/index.vue'),
    redirect: '/ledger',
    meta: {
      isMenu: true,
      tag: false,
      loginAuth: true,
      title: '资产台账',
      icon: 'FolderOpened'
    },
    children: [
      {
        path: '/ledger',
        name: 'ledger',
        component: () =>
          import(
            '@/views/resource_ledger/index.vue'
          ),
          meta: {
            title: '资产台账',
            breadcrumbName: '资产台账',

          },
      },
      {
        path: '/ledgerDetail',
        name: 'ledgerDetail',
        redirect: '/ledgerDetail/detail',
        meta: {
          title: '资产台账详情',
          noIcon: true
        },
        children: [
          {
            path: '/ledgerDetail/detail',
            name: 'ledgerDetailIndex',
            component: () =>
              import(
                '@/views/resource_ledger/ledger_details/index.vue'
              )
          },
          {
            path: '/ledgerDetail/detail/lookAsset',
            name: 'lookAsset',
            component: () =>
              import(
                '@/views/resource_ledger/data_details/index.vue'
              ),
            meta: {
              title: '查看资源',
              noIcon: true,
              activeMenu: '/ledgerDetail/detail'
            }
          },
          {
            path: '/ledgerDetail/detail/lookRelation',
            name: 'lookRelation',
            component: () =>
              import(
                '@/views/resource_ledger/association_details/index.vue'
              ),
            meta: {
              title: '查看详情',
              noIcon: true,
              activeMenu: '/ledgerDetail/detail'
            }
          },
          {
            path: '/ledgerDetail/detail/LookBloodtiesdetail',
            name: 'LookBloodtiesdetail',
            component: () =>
              import(
                '@/views/resource_ledger/data_source_details/index.vue'
              ),
            meta: {
              title: '查看报告',
              noIcon: true,
              activeMenu: '/ledgerDetail/detail'
            }
          },
          {
            // 第三方认证
            path: '/ledgerDetail/detail/ProerrtycheckReport',
            name: 'ProerrtycheckReport',
            component: () =>
              import(
                '@/views/resource_ledger/report_details/index.vue'
              ),
            meta: {
              title: '资产合规报告',
              noIcon: true,
              activeMenu: '/ledgerDetail/detail'
            }
          },
          {
            path: '/ledgerDetail/detail/RegistercheckReport',
            name: 'RegistercheckReport',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '资产登记报告',
              noIcon: true,
              activeMenu: '/ledgerDetail/detail'
            }
          },
          {
            path: '/ledgerDetail/detail/DatacheckReport',
            name: 'DatacheckReport',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '资产评价报告',
              noIcon: true,
              activeMenu: '/ledgerDetail/detail'
            }
          },
          {
            // 凭证关联
            path: '/ledgerDetail/detail/VoucherDetail',
            name: 'VoucherDetail',
            component: () =>
              import(
                '@/views/resource_ledger/voucher_details/index.vue'
              ),
            meta: {
              title: '查看凭证',
              noIcon: true,
              activeMenu: '/ledgerDetail/detail'
            }
          }
        ]
      }
    ]
  },
  {
    // 资产管理
    path: '/assetManage',
    name: 'assetManage',
    component: () => import('@/layout/index.vue'),
    redirect: '/assetManage/resource',
    meta: {
      isMenu: true, // 是否展示在侧边栏
      tag: true, // 是否循环子路由
      loginAuth: true, //是否需要用户登录
      title: '资产管理',
      icon: 'Wallet'
    },
    children: [
      // { // 资料管理
      //   path: "/assetManage/dataManage",
      //   name: "dataManage",
      //   component: () => import("@/views/AssetManage/DataManage/List.vue"),
      //   meta: {
      //     title:'资料管理',
      //     noIcon:true
      //   }
      // },
      {
        path: '/assetManage/resource',
        name: 'resource',
        redirect: '/assetManage/resource',
        meta: {
          title: '资源管理',
          noIcon: true
        },
        children: [
          {
            path: '/assetManage/resource',
            name: 'resource',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              )
          },
          {
            path: '/assetManage/resource/checkversion',
            name: 'checkVersion',
            component: import(
              '@/views/asset_management/resource_management/subPages/resource_version/resourceVers.vue'
            ),
            meta: {
              title: '查看版本',
              noIcon: true,
              activeMenu: '/assetManage/resource'
            }
          },
          {
            path: '/assetManage/resource/bloodtiesdetail',
            name: 'Rebloodtiesdetail',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_relations/resourceRelations.vue'
              ),
            meta: {
              title: '查看关联',
              noIcon: true,
              activeMenu: '/assetManage/resource'
            }
          },
          {
            path: '/assetManage/resource/check/:id',
            name: 'resourcecheck',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_view/ResourceView.vue'
              ),
            meta: {
              title: '查看资源',
              noIcon: true,
              activeMenu: '/assetManage/resource'
            }
          },
          {
            path: '/assetManage/resource/add',
            name: 'resourceadd',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_save/ResourceSave.vue'
              ),
            meta: {
              title: '添加资源',
              noIcon: true,
              activeMenu: '/assetManage/resource'
            }
          },
          {
            path: '/assetManage/resource/edit/:id',
            name: 'resourceedit',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_save/ResourceSave.vue'
              ),
            meta: {
              title: '编辑资源',
              noIcon: true,
              activeMenu: '/assetManage/resource'
            }
          },
          {
            path: '/assetManage/resource/update/:id',
            name: 'resourceupdate',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_save/ResourceSave.vue'
              ),
            meta: {
              title: '更新资源打包',
              noIcon: true,
              activeMenu: '/assetManage/resource'
            }
          }
        ]
      },
      {
        path: '/assetManage/pack',
        redirect: '/assetManage/pack',
        name: 'pack',
        meta: {
          title: '资产打包',
          noIcon: true
        },
        children: [
          {
            path: '/assetManage/pack',
            name: 'pack',
            component: () =>
              import(
                '@/views/asset_management/resource_package/PackageView.vue'
              )
          },
          {
            path: '/assetManage/pack/packhandle',
            name: 'packhandle',
            component: () =>
              import(
                '@/views/asset_management/resource_package/common_package/AssetPackaging.vue'
              ),
            meta: {
              title: '资产打包',
              noIcon: true,
              activeMenu: '/assetManage/pack'
            }
          },
          {
            path: '/assetManage/pack/historyversion',
            name: 'historyversion',
            component: () =>
              import(
                '@/views/asset_management/resource_package/common_package/LookView.vue'
              ),
            meta: {
              title: '历史版本',
              noIcon: true,
              activeMenu: '/assetManage/pack'
            }
          },
          {
            path: '/assetManage/pack/add',
            name: 'packadd',
            component: () =>
              import(
                '@/views/asset_management/resource_package/common_package/AssetPackaging.vue'
              ),
            meta: {
              title: '新增资产打包',
              noIcon: true,
              activeMenu: '/assetManage/pack'
            }
          },
          {
            path: '/assetManage/pack/edit',
            name: 'packedit',
            component: () =>
              import(
                '@/views/asset_management/resource_package/common_package/AssetPackaging.vue'
              ),
            meta: {
              title: '编辑资产打包',
              noIcon: true,
              activeMenu: '/assetManage/pack'
            }
          },
          {
            path: '/assetManage/pack/check',
            name: 'packcheck',
            component: () =>
              import(
                '@/views/asset_management/resource_package/common_package/PackingOver.vue'
              ),
            meta: {
              title: '查看资产打包',
              noIcon: true,
              activeMenu: '/assetManage/pack'
            }
          },
          {
            path: '/assetManage/pack/update',
            name: 'packupdate',
            component: () =>
              import(
                '@/views/asset_management/resource_package/common_package/SelectAsset.vue'
              ),
            meta: {
              title: '更新资产打包',
              noIcon: true,
              activeMenu: '/assetManage/pack'
            }
          },
          {
            path: '/assetManage/pack/bloodtiesdetail',
            name: 'bloodtiesdetail',
            component: () =>
              import(
                '@/views/asset_management/resource_package/common_package/index.vue'
              ),
            meta: {
              title: '查看关联',
              noIcon: true,
              activeMenu: '/assetManage/pack'
            }
          }
        ]
      },
      {
        path: '/assetManage/project',
        name: 'projectIndex',
        redirect: '/assetManage/project',
        meta: {
          title: '资产项目',
          noIcon: true
        },
        children: [
          {
            path: '/assetManage/project',
            name: 'projectIndex',
            component: () => import('@/views/asset_management/resource-project/ProjectIndex.vue')
          },
          {
            path: '/assetManage/project/add',
            name: 'ProjectAdd',
            component: () =>
              import('@/views/asset_management/resource-project/ProjectAdd/ProjectAdd.vue'),
            meta: {
              title: '添加项目',
              isTopLevel: false, // 是否为顶层页面
              backName: 'projectIndex',
              isCanback: true, //控制是否可以显示返回
              activeMenu: '/assetManage/project'
            }
          },
          {
            path: '/assetManage/project/edit',
            name: 'ProjectEdit',
            component: () =>
              import('@/views/asset_management/resource-project/ProjectAdd/ProjectAdd.vue'),
            meta: {
              title: '编辑',
              noIcon: true,
              backName: 'projectIndex',
              isCanback: true, //控制是否可以显示返回
              activeMenu: '/assetManage/project'
            }
          },
          {
            path: '/assetManage/project/check',
            name: 'CheckDetail',
            component: () => import('@/views/asset_management/resource-project/CheckDetail.vue'),
            meta: {
              title: '查看详情',
              noIcon: true,
              isCanback: true,
              backName: 'projectIndex',
              activeMenu: '/assetManage/project'
            }
          },
          {
            path: '/assetManage/project/resrelation',
            name: 'ResourceResrelation',
            component: () =>
              import('@/views/asset_management/resource-project/ResourceResrelation.vue'),
            meta: {
              title: '关联标的',
              noIcon: true,
              isTopLevel: false, // 是否为顶层页面
              backName: 'projectIndex',
              isCanback: true, //控制是否可以显示返回
              activeMenu: '/assetManage/project'
            }
          }
        ]
      },
      {
        path: '/assetManage/Subject',
        name: 'subject',
        redirect: '/assetManage/Subject',
        meta: {
          title: '资产主体',
          noIcon: true
        },
        children: [
          {
            path: '/assetManage/Subject',
            name: 'subject',
            component: () => import('@/views/asset_management/resource_subject/IndexPage.vue')
          },
          {
            path: '/assetManage/subject/detail',
            name: 'subjectAdd',
            component: () => import('@/views/asset_management/resource_subject/SubjectEdit.vue'),
            meta: {
              title: '主体录入',
              noIcon: true,
              activeMenu: '/assetManage/Subject'
            }
          },
          {
            path: '/assetManage/subject/editDetail',
            name: 'subEditDetail',
            component: () => import('@/views/asset_management/resource_subject/SubjectEdit.vue'),
            meta: {
              title: '编辑',
              noIcon: true,
              activeMenu: '/assetManage/Subject'
            }
          },
          {
            path: '/assetManage/subject/checkDetail',
            name: 'subCheckDetail',
            component: () => import('@/views/asset_management/resource_subject/SubjectDetail.vue'),
            meta: {
              title: '查看详情',
              noIcon: true,
              activeMenu: '/assetManage/Subject'
            }
          }
        ]
      },
      {
        path: '/assetManage/Tracing',
        name: 'tracing',
        redirect: '/assetManage/Tracing',
        meta: {
          title: '资产追溯',
          noIcon: true
        },
        children: [
          {
            path: '/assetManage/Tracing',
            name: 'tracing',
            component: () =>
              import(
                '@/views/asset_management/resource_ traceability/listPage.vue'
              )
          },
          {
            path: '/assetManage/Tracing/bloodDetail',
            name: 'bloodDetail',
            component: () =>
              import(
                '@/views/asset_management/resource_ traceability/index.vue'
              ),
            meta: {
              title: '查看关联',
              noIcon: true,
              activeMenu: '/assetManage/Tracing'
            }
          },
          {
            path: '/assetManage/Tracing/ownership',
            name: 'ownership',
            component: () =>
              import(
                '@/views/asset_management/resource_ traceability/CheckDetail.vue'
              ),
            meta: {
              title: '权属编辑',
              noIcon: true,
              activeMenu: '/assetManage/Tracing'
            }
          }
        ]
      }
    ]
  },
  {
    // 合规登记
    path: '/complianceRegister',
    name: 'complianceRegister',
    component: () => import('@/layout/index.vue'),
    redirect: '/complianceRegister/property',
    meta: {
      isMenu: true, // 是否展示在侧边栏
      tag: true, // 是否循环子路由
      loginAuth: true, //是否需要用户登录
      title: '合规登记',
      icon: 'Edit'
    },
    children: [
      {
        path: '/complianceRegister/Property',
        name: 'property',
        redirect: '/complianceRegister/Property',
        meta: {
          title: '资产合规',
          noIcon: true
        },
        children: [
          {
            path: '/complianceRegister/Property',
            name: 'property',
            component: import('@/views/compliance_registration/register_compliance/listPage.vue')
          },
          {
            path: '/complianceRegister/property/checkReport',
            name: 'propertyCheckReport',
            component: () =>
              import('@/views/compliance_registration/register_compliance/detailPage.vue'),
            meta: {
              title: '查看报告',
              noIcon: true,
              backName: 'complianceRegister',
              activeMenu: '/complianceRegister/Property',
              isCanback: true
            }
          },
          {
            path: '/complianceRegister/property/uploadReport',
            name: 'uploadReport',
            component: () =>
              import('@/views/compliance_registration/register_compliance/updatePage.vue'),
            meta: {
              title: '上传报告',
              noIcon: true,
              backName: 'complianceRegister',
              activeMenu: '/complianceRegister/Property',
              isCanback: true
            }
          }
        ]
      },
      {
        path: '/complianceRegister/register',
        redirect: '/complianceRegister/register',
        name: 'register',
        meta: {
          title: '资产登记',
          noIcon: true
        },
        children: [
          {
            path: '/complianceRegister/register',
            name: 'register',
            component: () =>
              import('@/views/compliance_registration/resource_registration/RegistrationView.vue')
          },
          {
            path: '/complianceRegister/register/checkReport',
            name: 'registerCheck',
            component: () =>
              import('@/views/compliance_registration/resource_registration/CheckReport.vue'),
            meta: {
              title: '查看证书',
              noIcon: true,
              activeMenu: '/complianceRegister/register',
              isCanback: true
            }
          },
          {
            path: '/complianceRegister/register/uploadReport',
            name: 'registerUpload',
            component: () =>
              import('@/views/compliance_registration/resource_registration/UploadReport.vue'),
            meta: {
              title: '上传证书',
              noIcon: true,
              activeMenu: '/complianceRegister/register',
              isCanback: true
            }
          }
        ]
      }
    ]
  },
  {
    // 数据评价
    path: '/dataEvaluation',
    name: 'dataEvaluation',
    component: () => import('@/layout/index.vue'),
    redirect: '/dataEvaluation/report',
    meta: {
      isMenu: true, // 是否展示在侧边栏
      tag: true, // 是否循环子路由
      loginAuth: true, //是否需要用户登录
      title: '数据评价',
      icon: 'SetUp'
    },
    children: [
      {
        path: '/dataEvaluation/report',
        name: 'report',
        redirect: '/dataEvaluation/report',
        meta: {
          title: '评价报告',
          noIcon: true
        },
        children: [
          {
            path: '/dataEvaluation/report',
            name: 'report',
            component: () => import('@/views/data_evaluation/assessment_report/listPage.vue')
          },
          {
            path: '/dataEvaluation/report/checkReport',
            name: 'dataCheckReport',
            component: () => import('@/views/data_evaluation/assessment_report/detailPage.vue'),
            meta: {
              title: '查看报告',
              noIcon: true,
              activeMenu: '/dataEvaluation/report',
              backName: 'dataEvaluation',
              isCanback: true
            }
          },
          {
            path: '/dataEvaluation/report/uploadReport',
            name: 'dataUploadReport',
            component: () => import('@/views/data_evaluation/assessment_report/updatePage.vue'),
            meta: {
              title: '上传报告',
              noIcon: true,
              activeMenu: '/dataEvaluation/report',
              backName: 'dataEvaluation',
              isCanback: true
            }
          }
        ]
      }
    ]
  },
  {
    // 成本归集
    path: '/costAssignment',
    name: 'costAssignment',
    component: () => import('@/layout/index.vue'),
    redirect: 'costAssignment/cost',
    meta: {
      isMenu: true, // 是否展示在侧边栏
      tag: true, // 是否循环子路由
      loginAuth: true, //是否需要用户登录
      title: '成本归集',
      icon: 'Money'
    },
    children: [
      {
        path: '/costAssignment/voucherManage',
        meta: {
          title: '凭证管理',
          noIcon: true
        },
        children: [
          {
            path: '/costAssignment/voucherManage',
            name: 'voucherManage',
            component: () =>
              import(
                '@/views/cost_assignment/voucher_management/VoucherList.vue'
              )
          },
          {
            path: '/costAssignment/voucherManage/create',
            name: 'VoucherAdd',
            component: () =>
              import(
                '@/views/cost_assignment/voucher_management/VoucherAdd.vue'
              ),
            meta: {
              title: '添加凭证',
              noIcon: true,
              isTopLevel: false, // 是否为顶层页面
              backName: 'voucherManage',
              isCanback: true, //控制是否可以显示返回
              activeMenu: '/costAssignment/voucherManage'
            }
          },
          {
            path: '/costAssignment/voucherManage/detail',
            name: 'voucherDetail',
            component: () =>
                import(
                    '@/views/cost_assignment/voucher_management/VoucherDetail.vue'
                    ),
            meta: {
              title: '查看详情',
              noIcon: true,
              isTopLevel: false, // 是否为顶层页面
              backName: 'voucherManage',
              isCanback: true, //控制是否可以显示返回
              activeMenu: '/costAssignment/voucherManage'
            }
          },
          {
            path: '/costAssignment/voucherManage/Update',
            name: 'voucherUpdate',
            component: () =>
              import(
                  '@/views/cost_assignment/voucher_management/VoucherUpdate.vue'
              ),
            meta: {
              title: '更新',
              noIcon: true,
              isTopLevel: false, // 是否为顶层页面
              backName: 'voucherManage',
              isCanback: true, //控制是否可以显示返回
              activeMenu: '/costAssignment/voucherManage'
            }
          },

          {
            path: '/costAssignment/voucherManage/correlation',
            name: 'VoucherAssociation',
            component: () =>
              import(
                  '@/views/cost_assignment/voucher_management/VoucherAssociation.vue'
              ),
            meta: {
              title: '凭证关联',
              noIcon: true,
              isTopLevel: false, // 是否为顶层页面
              backName: 'voucherManage',
              isCanback: true, //控制是否可以显示返回
              activeMenu: '/costAssignment/voucherManage'
            }
          }
        ]
      },
      {
        //资产成本
        path: '/costAssignment/cost',
        name: 'AssetCostList',
        redirect: '/costAssignment/cost',
        meta: {
          title: '资产成本',
          noIcon: true
        },
        children: [
          {
            path: '/costAssignment/cost',
            name: 'AssetCostList',
            component: () => import('@/views/cost_assignment/asset_cost/AssetCostList.vue')
          },
          {
            //查看详情
            path: '/costAssignment/cost/detail',
            name: 'AssetCostDetail',
            component: () => import('@/views/cost_assignment/asset_cost/AssetDetail.vue'),
            meta: {
              title: '查看详情',
              isTopLevel: false, // 是否为顶层页面
              backName: 'AssetCostList',
              isCanback: true, //控制是否可以显示返回
              noIcon: true,
              activeMenu: '/costAssignment/cost'
            }
          }
        ]
      },
      {
        path: '/costAssignment/enterTable',
        redirect: 'IncomeList',
        meta: {
          title: '资产入表',
          noIcon: true
        },
        children: [
          {
            path: '/costAssignment/enterTable',
            name: 'IncomeList',
            component: () => import('@/views/cost_assignment/asset_Income/IncomeList.vue'),
          },
          {
            path: '/costAssignment/enterTable/voucher',
            name: 'VoucherPage',
            component: () => import('@/views/cost_assignment/asset_Income/VoucherPage.vue'),
            meta: {
              title: '入表凭证',
              noIcon: true,
              isCanback: true, //控制是否可以显示返回
              backName: 'IncomeList',
              activeMenu: '/costAssignment/enterTable'
            }
          },
          {
            path: '/costAssignment/enterTable/ConfirmPage',
            name: 'ConfirmPage',
            component: () =>
                import(
                    '@/views/cost_assignment/asset_Income/ConfirmPage.vue'
                    ),
            meta: {
              title: '确认入表',
              noIcon: true,
              isCanback: true, //控制是否可以显示返回
              backName: 'IncomeList',
              activeMenu: '/costAssignment/enterTable'
            }
          },
        ]
      },
      {
        path: '/costAssignment/costSet',
        meta: {
          title: '计算账套',
          noIcon: true
        },
        children: [
          {
            path: '/costAssignment/costSet',
            name: 'costSet',
            component: () =>
              import(
                '@/views/cost_assignment/assignment_calculate/listPage.vue'
              ),
            activeMenu: '/costAssignment/cost'
          }
        ]
      }
    ]
  },
  {
    // 后续计量
    path: '/followMetering',
    name: 'followMetering',
    component: () => import('@/layout/index.vue'),
    redirect: '/followMetering/amortize',
    meta: {
      isMenu: true, // 是否展示在侧边栏
      tag: true, // 是否循环子路由
      loginAuth: true, //是否需要用户登录
      title: '后续计量',
      icon: 'DataAnalysis'
    },
    children: [
      {
        path: '/followMetering/amortize',
        meta: {
          title: '资产摊销',
          noIcon: true
        },
        children: [
          {
            path: '/followMetering/amortize',
            name: 'amortize',
            component: () => import('@/views/follow_metering/asset_amortization/ListPage.vue')
          },
          {
            path: '/followMetering/amortize/detail',
            name: 'amortizeDetail',
            component: () =>
              import('@/views/follow_metering/asset_amortization/DetailPage.vue'),
            meta: {
              title: '查看详情',
              activeMenu: '/followMetering/amortize',
              noIcon: true,
              isCanback: true, //控制是否可以显示返回
              backName: 'amortize'
            }
          },
          {
            path: '/followMetering/amortize/modifyAllocation',
            name: 'modifyAllocation',
            component: () =>
              import('@/views/follow_metering/asset_amortization/EditPage.vue'),
            meta: {
              title: '修改配置',
              activeMenu: '/followMetering/amortize',
              noIcon: true,
              isCanback: true, //控制是否可以显示返回
              backName: 'amortize'
            }
          }
        ]
      },
      {
        path: '/followMetering/impairment',
        meta: {
          title: '资产减值',
          noIcon: true
        },
        children: [
          {
            path: '/followMetering/impairment',
            name: 'impairment',
            component: () => import('@/views/follow_metering/impairment/IndexPage/IndexPage.vue')
          },
          {
            path: '/followMetering/impairment/detail',
            name: 'impairDetail',
            component: () =>
              import('@/views/follow_metering/impairment/ImpairmentDetail/PackingOver.vue'),
            meta: {
              title: '资产减值详情',
              noIcon: true,
              activeMenu: '/followMetering/impairment'
            }
          },
          {
            path: '/followMetering/impairment/report',
            name: 'impairReport',
            component: () =>
              import(
                '@/views/follow_metering/impairment/Upload.vue'
              ),
            meta: {
              title: '上传报告',
              noIcon: true,
              activeMenu: '/followMetering/impairment'
            }
          }
        ]
      }
    ]
  },
  {
    // 报表披露
    path: '/statements',
    name: 'statements',
    component: () => import('@/layout/index.vue'),
    redirect: '/statements/list',
    meta: {
      isMenu: true, // 是否展示在侧边栏
      tag: false, // 是否循环子路由
      loginAuth: true, //是否需要用户登录
      title: '报表披露',
      icon: 'Memo'
    },
    children: [
      {
        path: '/statements/list',
        name: 'statementsList',
        component: () =>
          import(
            '@/views/statements/index.vue'
          )
      },
      {
        path: '/statements/detail',
        name: 'statementsDetail',
        component: () =>
          import(
            '@/views/statements/details/index.vue'
          ),
        meta: {
          title: '查看报表披露',
          noIcon: true,
          activeMenu: '/statements/list'
        }
      },
      {
        path: '/statements/allDetail',
        name: 'statementsAllDetail',
        component: () =>
          import(
            '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
          ),
        meta: {
          title: '查看报表披露',
          noIcon: true,
          activeMenu: '/statements/list'
        }
      }
    ]
  },
  {
    // 系统设置
    path: '/system',
    name: 'system',
    component: () => import('@/layout/index.vue'),
    redirect: '/system/account',
    meta: {
      isMenu: true, // 是否展示在侧边栏
      tag: true, // 是否循环子路由
      loginAuth: true, //是否需要用户登录
      title: '系统设置',
      icon: 'Setting'
    },
    children: [
      {
        path: '/system/account',
        name: 'account',
        redirect: '/system/account',
        meta: {
          title: '账户管理',
          noIcon: true
        },
        children: [
          {
            path: '/system/account',
            name: 'account',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '账户管理',
              noIcon: true
            }
          },
          {
            path: '/system/account/associatedInformation',
            name: 'associatedInformationAccount',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '关联信息',
              noIcon: true
            }
          },
          {
            path: '/system/account/add',
            name: 'accountAdd',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '新增账户',
              noIcon: true
            }
          },
          {
            path: '/system/account/edit/:id',
            name: 'accountEdit',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '编辑账户',
              noIcon: true
            }
          }
        ]
      },
      {
        path: '/system/role',
        name: 'role',
        redirect: '/system/role',
        meta: {
          title: '角色管理',
          noIcon: true
        },
        children: [
          {
            path: '/system/role',
            name: 'role',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '角色管理',
              noIcon: true
            }
          },
          {
            path: '/system/role/associatedInformation',
            name: 'associatedInformationRole',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '关联信息',
              noIcon: true
            }
          }
        ]
      },
      {
        path: '/system/files',
        name: 'files',
        redirect: '/system/files',
        meta: {
          title: '档案管理',
          noIcon: true
        },
        children: [
          {
            path: '/system/files',
            name: 'files',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '档案管理',
              noIcon: true
            }
          },
          {
            path: '/system/files/files-add',
            name: 'filesAdd',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '新增档案',
              noIcon: true
            }
          },
          {
            path: '/system/files/files-edit/:id',
            name: 'filesEdit',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '编辑档案',
              noIcon: true
            }
          },
          {
            path: '/system/files/files-view/:id',
            name: 'filesView',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '查看档案',
              noIcon: true
            }
          }
        ]
      },
      {
        path: '/system/orgManage',
        name: 'orgManage',
        redirect: '/system/orgManage',
        meta: {
          title: '组织管理',
          noIcon: true
        },
        children: [
          {
            path: '/system/orgManage',
            name: 'orgManage',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              )
          },
          {
            path: '/system/orgManage/add-org',
            name: 'addOrg',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '新增组织',
              noIcon: true,
              hidden: true
            }
          },
          {
            path: '/system/orgManage/edit-org',
            name: 'editOrg',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '编辑组织',
              noIcon: true,
              hidden: true
            }
          },
          {
            path: '/system/orgManage/view-org/:id',
            name: 'viewOrg',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '查看组织',
              noIcon: true
            }
          },
          {
            path: '/system/orgManage/org-person/:id',
            name: 'orgPerson',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              ),
            meta: {
              title: '查看人员信息',
              noIcon: true,
              hidden: true
            }
          }
        ]
      },
      {
        path: '/system/menu',
        name: 'menu',
        redirect: '/system/menu',
        meta: {
          title: '菜单管理',
          noIcon: true
        },
        children: [
          {
            path: '/system/menu',
            name: 'menuList',
            component: () =>
              import(
                '@/views/asset_management/resource_management/subPages/resource_list/ManagementView.vue'
              )
          }
        ]
      }
    ]
  }
];
